home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11597 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: solon.com!not-for-mail
  2. From: seebs@solutions.solon.com (Peter Seebach)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: How to make it BEEP ?
  5. Date: 25 Mar 1996 06:47:02 -0600
  6. Organization: Usenet Fact Police (Undercover)
  7. Message-ID: <4j64k6$3qt@solutions.solon.com>
  8. References: <4ihuuh$6ul@hatathli.csulb.edu> <3150380D.1511@willows.com> <danpop.827519148@rscernix> <m37mw9qyt9.fsf@desaster.student.uni-tuebingen.de>
  9. NNTP-Posting-Host: solutions.solon.com
  10.  
  11. In article <m37mw9qyt9.fsf@desaster.student.uni-tuebingen.de>,
  12. Michael Will <Michael.Will@student.uni-tuebingen.de> wrote:
  13. >give him a clue then:
  14.  
  15. >#define BEEP_CHARACTER (char) 0x07
  16.  
  17. >    putchar (BEEP_CHARACTER);
  18.  
  19. >Or what would you propose?
  20.  
  21. putchar('\a');
  22.  
  23. works on machines with non-ASCII sets, and is self-documenting.
  24.  
  25. -s
  26. -- 
  27. Peter Seebach - seebs@solon.com - Copyright 1996 Peter Seebach.
  28. C/Unix wizard -- C/Unix questions? Send mail for help.  No, really!
  29. FUCK the communications decency act.  Goddamned government.  [literally.]
  30. The *other* C FAQ - http://www.solon.com/~seebs/c/c-iaq.html
  31.